package com.ninthgroup.controller;

import com.ninthgroup.service.LogService;
import com.ninthgroup.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：1452863884@qq.com rcg
 * @date ：Created in 2022/11/3 22:01
 * @description：用户日志的控制层
 * @modified By：
 * @version:1.0
 */
@RestController
@RequestMapping("/weblog")
public class LogController {


    @Autowired
    private LogService logService;

    @GetMapping("/all")
    public Result selectAll(){
      return logService.selectAll();
    }
}